package com.zhangtai.modules.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class ManagementRegularVo {

    @NotNull(message = "promotionId不能为空")
    @ApiModelProperty(value="promotionId",required = false)
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long relationId;

    @ApiModelProperty(value="申请说明",required = false)
    private String remark;

    @ApiModelProperty(value="附件",required = false)
    private List<String> urls;
}
